package com.dyypdadmin.service;

import com.dyypdadmin.pojo.ServiceDetails;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ServiceDetailsService {

    int addServiceDetails(int service_type_id, String service_name, String service_price, String service_description);

    int deleteServiceDetailsById(int service_detail_id);

    int updateServiceDetails(ServiceDetails serviceDetails);

    ServiceDetails getServiceDetailsById(int service_detail_id);

    List<ServiceDetails> getAll();

    List<ServiceDetails> getByType(int service_type_id);

    int changeStatus(@Param("service_detail_id")Integer service_detail_id, @Param("is_appointment_available")Integer is_appointment_available, @Param("is_del")Integer is_del);

    List<ServiceDetails> getDetailByName(@Param("service_name")String service_name);

    int insertServiceDetail(ServiceDetails serviceDetails);
}
